export default function createRrfidNumber(parm) {
  // 生成两位随机数
  const random = Math.floor(Math.random() * 100).toString()
  const timestamp = Math.round(new Date()).toString()
  const parmStr = parm.toString()
  const totalLength = parmStr.length + timestamp.length + random.length
  if (totalLength < 24) {
    const zeros = '0'.repeat(24 - totalLength)
    return parmStr + timestamp + random + zeros
  } else {
    return parmStr + timestamp + random
  }
}
